import React from 'react';
import ReactDOM from 'react-dom/client';
// import App from './App';
//通过react-redux提供的Provider组件将store传递给App组件
import store from './store';
import { Provider } from 'react-redux';
import { RouterProvider } from 'react-router-dom';
import router from './router';

//导入定制主题文件
import '@/theme.css';
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
    <Provider store={store}>
        {/* <App /> */}
        <RouterProvider router={router}>
                {/* <App /> */}
        </RouterProvider>
    </Provider>
);
